package com.jeesite.modules.digitalize.util.response;

/**
 * @date 2023年08月23日 16:43:07
 * @author patronli
 * @Description: 响应状态以及描述
 */
public enum ResultStatusCode {
    OK(200, "OK"),
    FILE_UPLOAD_FAIL(2001, "文件上传失败！"),
    FILE_DEL_FAIL(2001, "文件删除失败！"),

    MOVE_FILE_ERROR_1(2001,"不能挪动到自己下面！"),

    ERROR(2001, ""),
    SHARE_NEED_PWD(3001, "该分享为加密，请输入密码"),
    SHARE_EXPIRED(3002, "分享已过期"),
    SHARE_PWD_MISTAKE(3003, "分享密码错误");

    private int code;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    ResultStatusCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
